package com.jch.helloworld.configBeans.BeanRelation;

public class BeanDemo2 {

    private String content;
    private String content1;

    public BeanDemo2() {
    }

    @Override
    public String toString() {
        return "BeanDemo2{" +
                "content='" + content + '\'' +
                ", content1='" + content1 + '\'' +
                '}';
    }

    public String getContent1() {
        return content1;
    }

    public void setContent1(String content1) {
        this.content1 = content1;
        System.out.println(this.toString());
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
        System.out.println(this.toString());
    }
}
